<?php
	//Open gadget, do __MODULE_ID__ replacements
	$gadgetFileName = $_GET['gadget'];
	$fh = fopen($gadgetFileName, 'r') or die("Can't open file");
	$contents = fread($fh, filesize($gadgetFileName));
	fclose($fh);
	$gadget = simplexml_load_string(str_replace("__MODULE_ID__", "0", $contents));

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>Bonstio's iGoogle Local Development Kit</title>
    <script>var _IG_time_epoch = (new Date()).getTime();</script>
    <script src="js/ig.js"></script>
    <script src="js/libminimessage.js"></script>
    <script>var domain = document.location.hostname;
    var google_pos = domain.indexOf('.google.');
    if (google_pos > -1)
    {
        domain = domain.substring(google_pos);
        document.cookie = "TZ=" + (new Date()).getTimezoneOffset() + ';path=/;domain=' + domain;
    }

    _et = "9S9CvQOT";
    _source = "";
    _uli = true;
    _pnlo = false;
    _mpnlo = false;
    _pl = false;
    _mod = true;
    _pid = "";
    _old_html = false;
    _use_old_feed_styles = false;
    _cbp = true;
    _is_dasher = false;
    _upc();
    var _pl_data = {};</script>
    <script><!--
    function save_chkbox_value(hidden_elem_name, checked)
    {
        var hidden_elem = document.getElementById(hidden_elem_name);
        hidden_elem.value = checked ? "1" : "0";
    }
    function RemoteModule(spec_url, id, render_inline, base_iframe_url, caching_disabled)
    {
        this.spec_url = spec_url;
        this.id = id;
        this.render_inline = render_inline;
        this.base_iframe_url = base_iframe_url;
        this.caching_disabled = caching_disabled;
        this.old_width = 0;
        this.wants_scaling = false;
        this.is_inlined = function()
        {
            return this.base_iframe_url == "";
        };
    }
    ;
    var remote_modules = [];

    function ifpc_resizeIframe(iframe_id, height)
    {
        var el = document.getElementById(iframe_id);
        if (el)
        {
            el.style.height = height + "px";
        }
    }
    _IFPC.registerService('resize_iframe', ifpc_resizeIframe);
    function _ig_gmid_(iframe_id)
    {
        return(iframe_id.split("_")[2]);
    }
    function _setModTitle(title, module_id)
    {
        var title_element = _gel("m_" + module_id + "_title");
        if (title_element)
        {
            title_element.innerHTML = _hesc(title);
        }
    }
    function ifpc_setTitle(iframe_id, title)
    {
        if (typeof(iframe_id) == undefined || !iframe_id || iframe_id == "undefined")
        {
            return;
        }
        _setModTitle(title, _ig_gmid_(iframe_id));
    }
    _IFPC.registerService('set_title', ifpc_setTitle);
    function _IG_SetTitle(title, specified_module_id)
    {
        if (typeof(specified_module_id) == "undefined" || !specified_module_id || specified_module_id == "undefined")
        {
            throw new Error("Inline modules must specify their " + "__MODULE_ID__ when using _IG_SetTitle");
        }
        else
        {
            _setModTitle(title, specified_module_id);
        }
    }
    function ifpc_setPref(iframe_id, var_args)
    {
        var module_id = _ig_gmid_(iframe_id);
        var prefs = new _IG_Prefs(module_id);
        var keyValues = new Array();
        for (var n = 1; n < arguments.length; n += 2)
        {
            keyValues.push(arguments[n], arguments[n + 1]);
        }
        prefs.set.apply(prefs, keyValues);
    }
    _IFPC.registerService('set_pref', ifpc_setPref);
    // -->
    </script>
    <style>.modbox .el {
        display:;
    }

    .modbox .csl, .modbox .es {
        display: none;
    }

    .modbox_e .el {
        display: none;
    }

    .modbox_e .csl, .modbox .es {
        display:;
    }

    .dm {
        position: relative;
        width: 1px;
        height: 1px;
    }

    .fres {
        width: expression( _gel( "ffresults" ) . offsetWidth + "px" );
        overflow: hidden;
    }

    .panelo {
    }

    .panelc {
    }

    .mod {
    }

    .unmod {
    }

    form {
        display: inline;
    }

    .c {
        clear: both;
    }

    .fbox {
        margin-top: 1px;
        margin-right: 6px;
        display: block;
        overflow: hidden;
        width: 12px;
        height: 12px;
        background-image: url( '/ig/images/max_dark_blue.gif' );
        background-repeat: no-repeat;
        cursor: hand;
        cursor: pointer;
    }

    .fmaxbox {
        background-image: url( '/ig/images/max_dark_blue.gif' );
    }

    .fminbox {
        background-image: url( '/ig/images/min_dark_blue.gif' );
    }

    a.fmaxbox:hover {
        background-image: url( '/ig/images/max_dark_blue_highlight.gif' );
    }

    a.fminbox:hover {
        background-image: url( '/ig/images/min_dark_blue_highlight.gif' );
    }

    .f_tbl {
        font-size: 12px;
        margin-right: 2px;
        margin-left: 2px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .fr_tbl {
        margin-right: 2px;
        margin-left: 2px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .fb {
        font-size: 12px;
        padding: 2px;
        padding-top: 4px;
        border: 1px solid #d1d3d4;
        border-top: none;
        overflow: auto;
    }

    .sftl {
        border: 1px solid #d1d3d4;
        border-bottom: none;
    }

    .uftl {
        border: 1px solid white;
        border-bottom: none;
    }
    </style>
    <link rel="stylesheet" type="text/css" href="css/ig.css"/>
    <style>.dialog .top1, .dialog .top2, .dialog .bot1, .dialog .bot2 {
        height: 0px;
        margin: 0;
        font-size: 1px;
        background: #CBDCED;
    }

    * html .dialog .bot2 {
        margin: 0 2px;
    }

    * html .dialog .bot1 {
        margin: 0 3px;
    }

    .dialog .titlebar {
        color: black;
        font-weight: bold;
        background: #E2EEFA;
        min-height: 14px;
        padding: 5px 12px 5px 12px;
        border-top: 4px solid #CBDCED;
        border-left: 4px solid #CBDCED;
        border-right: 4px solid #CBDCED;
        font-size: 100%;
    }

    * html .dialog .titlebar {
        height: 14px;
    }

    .dialog .body {
        background: #FFFFFF;
        padding: 36px 40px 3px 40px;
        border-left: 4px solid #CBDCED;
        border-right: 4px solid #CBDCED;
        border-bottom: 4px solid #CBDCED;
    }

    .dialog .outerborder {
        border: 1px solid #3A5774;
    }

    .buttontable {
        width: 50%;
    }

    .dialog .buttontable td {
        text-align: center;
        padding: 24px 2px 10px 2px;
    }
    </style>
</head>
<body>
<script>_IG_DD_init();</script>
<script>
			<?php

				/**
				Init User Prefs default values
				**/

				foreach ($gadget->UserPref as $up)
				{
					$name = ((string)$up['name']);
					$value = $up['default_value'];

					//Override default UP value with one specified in query string
					@$qValue = $_GET["up_" . $name];
					if ((isset($qValue)) && ($qValue != ""))
					{
						$value = $qValue;
					}

					echo "\t__UP_" . $name . "__ = ";

					switch((string) $up['datatype'])
					{
						// Get attributes as element indices
						case 'list':
							echo "[";
							
							$list = split("\|", $value);
							for ($i = 0; $i < count($list); $i++)
							{
								echo "'" . $list[$i] . "'";
								if ($i+1 < count($list))
								{
									echo ",";
								}
								else
								{
									echo "]";
								}
							}
							
							break;
						
						case 'bool':
							echo $value;

							break;

						case 'enum':
						case 'hidden':
						default:
							echo "'" . $value . "'";
					}

					echo ";\r\n";
				}

			?>


			function _IG_RegisterOnloadHandler(onloadFunction)
			{
				window.onload = onloadFunction;
			}

			function _IG_Analytics(id, path)
			{
				//TODO alphanumeric checking here
			}

			function _gel(id)
			{
				return document.getElementById(id);
			}

			function _IG_Prefs(id)
			{
				_IG_Prefs.prototype.set = function(name, value) 
				{
					eval("__UP_" + name + "__ = '" + value + "'");		
				};

				_IG_Prefs.prototype.getBool = function(name) 
				{
					return eval("__UP_" + name + "__");
				};

				_IG_Prefs.prototype.getInt = function(name) 
				{
					return parseInt(eval("__UP_" + name + "__"));
				};

				_IG_Prefs.prototype.getString = function(name) 
				{
					return eval("__UP_" + name + "__");	
				};

				_IG_Prefs.prototype.getArray = function(name) 
				{
					return eval("__UP_" + name + "__");	
				};
			}

		function ifpc_resizeIframe(iframe_id, height)
		{
			var el = document.getElementById(iframe_id);
			if (el)
			{
				el.style.height = height + "px";
			}
		}

		function _IG_AdjustIFrameHeight()
		{

		}

	</script>
<div id="doc3">
<div id="nhdrwrap">
    <div id="nhdrwrapinner">
        <div id="nhdrwrapsizer">
            <div align=right>
                <div align=right id=guser style="font-size:84%;padding-bottom:4px" width=100%>
                    <nobr>
                        <b>bonstio@gmail.com</b>&nbsp;|&nbsp;<a href="http://www.google.com/url?sa=p&pref=ig&pval=1&q=/webhp">Classic Home</a>&nbsp;|&nbsp;<a href="http://www.google.co.uk/searchhistory/?hl=en">Web History</a>&nbsp;|&nbsp;<a href="https://www.google.com/accounts/ManageAccount">My Account</a>&nbsp;|&nbsp;<a href="http://www.google.com/ig/logout?continue=http://www.google.co.uk/ig">Sign out</a>
                    </nobr>
                </div>
            </div>
            <div id="gsea">
                <form id="sfrm" name="f" method="get" action="http://www.google.com/search">
                    <table cellpadding="0" cellspacing="0">
                        <tr>
                            <td valign="top" class="gsealog">
                                <div id="regular_logo">&nbsp;</div>
                            </td>
                            <td align="center" class="gseain" valign="top" nowrap>
                                <input type="hidden" name="source" value="ig"><input type="hidden" name="hl" id="hl" value="en">

                                <div id="featuretabs">
                                    <style>#lgpd {
                                        display: none
                                    }</style>
                                    <script defer><!--
                                    function qs(el)
                                    {
                                        if (window.RegExp && window.encodeURIComponent)
                                        {
                                            var ue = el.href,qe = encodeURIComponent(document.f.q.value);
                                            if (ue.indexOf("q=") != -1)
                                            {
                                                el.href = ue.replace(new RegExp("q=[^&$]*"), "q=" + qe);
                                            }
                                            else
                                            {
                                                el.href = ue + "&q=" + qe;
                                            }
                                        }
                                        return 1;
                                    }
                                    //-->
                                    </script>
                                    <table border=0 cellspacing=0 cellpadding=4>
                                        <tr>
                                            <td nowrap>
                                                <font size=-1><b>Web</b>&nbsp;&nbsp;&nbsp;&nbsp;<a class=q href="http://images.google.co.uk/imghp?tab=wi" onclick="return qs(this)">Images</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class=q href="http://news.google.co.uk/nwshp?tab=wn" onclick="return qs(this)">News</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class=q href="http://maps.google.co.uk/maps?tab=wl" onclick="return qs(this)">Maps</a><span style="position:relative;color:red;top:-5px;">New!</span>&nbsp;&nbsp;&nbsp;&nbsp;<a class=q href="http://www.google.co.uk/prdhp?tab=wf" onclick="return qs(this)">Products</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class=q href="http://groups.google.co.uk/grphp?tab=wg" onclick="return qs(this)">Groups</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class=q href="http://scholar.google.com/schhp?tab=ws" onclick="return qs(this)">Scholar</a>&nbsp;&nbsp;&nbsp;&nbsp;<!--"/*"/*--><font size=-1><a class=q onClick='return window.qs?qs(this):1' href='http://127.0.0.1:4664/&s=MWUyAScw9Xbmpj-ydNaR2enYnnw'>Desktop</a></font>&nbsp;&nbsp;&nbsp;&nbsp;<b><a href="http://www.google.com/intl/en/options/" class=q>more&nbsp;&raquo;</a></b></font>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <input type="text" name="q" id="q" size="55" maxlength="2048" value=""><br><input type="submit" value="Google Search" name="btnG" id="btnG"><input type="submit" value="I'm Feeling Lucky" name="btnI" id="btnI"><br>
                            </td>
                            <td valign="top"><br>

                                <p class="gseaopt">
                                    <a href="http://www.google.com/advanced_search?hl=en">Advanced Search</a><br><a href="http://www.google.com/preferences?hl=en">Preferences</a><br><a href="http://www.google.com/language_tools?hl=en">Language Tools</a>
                                </p></td>
                        </tr>
                        <tr>
                            <td align="center" colspan=3><font size=-1>Search:
                                <input id=all type=radio name=meta value="" checked><label for=all>the web</label><input id=cty type=radio name=meta value=cr=countryUK|countryGB><label for=cty>pages from the UK</label></font>
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
            <script>_gel('sfrm').onsubmit = function()
            {
                _log('search');
                return true;
            }</script>
            <script>function qs(el)
            {
                if (window.RegExp && window.encodeURIComponent)
                {
                    var qe = encodeURIComponent(document.f.q.value);
                    if (el.href.indexOf("q=") != -1)
                    {
                        el.href = el.href.replace(new RegExp("q=[^&$]*"), "q=" + qe);
                    }
                    else
                    {
                        el.href += "&q=" + qe;
                    }
                }
                return 1;
            }
            if (document.all)
            {
                _IG_AddDOMEventHandler(window, "focus", function()
                {
                    _gel("q").focus();
                    _IG_RemoveDOMEventHandler(window, "focus", arguments.callee);
                });
            }
            else
            {
                _gel("q").focus();
            }</script>
            <div id="undel_msg" class="msg" style="display:none;">
                <div id="undel_box" class="msg_box"><span id="undel_title"></span> has been removed.
                    <a href="javascript:void(_undel())">Undo</a> |
                    <a href="#" class="delbox_u" onclick="_gel('undel_msg').style.display='none';return false;">Close</a>
                </div>
            </div>
            <noscript>
                <div id="noscript_msg" class="msg">
                    <div id="noscript_box" class="msg_box">You need to have JavaScript enabled to use this page.</div>
                </div>
            </noscript>
            <script>_IG_time.stop("parse_header");</script>
            <div id="new_user_demo" align="center"></div>
            <!-- Copyright 2007 and beyond, Google Inc.  To use gadgets on your own site, visit http://www.google.com/webmasters/gadgets.  To create your own gadgets, visit http://www.google.com/apis/gadgets -->
        </div>
        <div id="tabs">
            <ul>

                <li id="tab8_edit" class="tab edittab selectedtab" style="display:none" onclick="_gel('tab8_title').focus();" onmouseover="_disable_onblur=true;" onmouseout="_disable_onblur=false;">
                    <script>_disable_onblur = false;</script>
                    <form id="tab8_rename_form" name="tab8_rename_form" onsubmit="return _renameTab();">
                        <span><input id="tab8_title" name="tab_title" value="Offline Development" onblur="_disable_onblur ? void(0) : _renameTab();"></span><a href="#" onclick="if (confirm('Are you sure you want to delete the \&quot;TAB_NAME\&quot; tab and all of its contents?'.replace('TAB_NAME', _editedTabName()))) {_dlsetp('dt=8');}return false;">delete</a>
                    </form>
                </li>
                <li id="tab8_view" class="tab selectedtab" style="display:block" onclick="_editTab('8')" title="Click to rename or delete.">
                    <span id="tab8_view_title" style="float:left;">Offline Development</span></li>
                <li class="tab selectedtab_r">&nbsp;</li>
                <li class="tab addtab">&nbsp;&nbsp;
                    <script src="http://www.google.com/ig/ig_popup.js"></script>
                    <script>function _mtabs_send()
                    {
                        var url = "http://www.google.com/ig/filltab?et=9S9CvQOT&igtab=";
                        url += _esc(_gel("mtab").value);
                        url += "&filltab=";
                        if (_gel("mfill").checked)
                        {
                            url += "1";
                        }
                        else
                        {
                            url += "0";
                        }
                        url += "&url=" + _esc(document.location);
                        document.location = url;
                        return false;
                    }
                    function _replace_div(name)
                    {
                        var oldDiv = _gel(name);
                        var newDiv = _gel("replace");
                        if (!newDiv)
                        {
                            newDiv = document.createElement("div");
                            newDiv.id = "replace";
                            newDiv.style.display = "none";
                            oldDiv.parentNode.appendChild(newDiv);
                        }
                        newDiv.style.width = "" + oldDiv.clientWidth + "px";
                        newDiv.style.height = "" + Math.max(oldDiv.offsetHeight, oldDiv.scrollHeight) + "px";
                        newDiv.style.backgroundColor = "#fff";
                        _toggle(oldDiv);
                        _toggle(newDiv);
                    }
                    function _close_mtabs_dialog()
                    {
                        _toggle(_gel("replace"));
                        _toggle(_gel("modules"));
                        return true;
                    }
                    function _open_mtabs_dialog()
                    {
                        _replace_div("modules");
                        var titleHtml = "\x3ctable id\x3d\"mtabs_title\" width\x3d\"100%\"\x3e\x3ctr\x3e\x3ctd\x3e\x3cstrong\x3eAdd a tab\x3c/strong\x3e\x3c/td\x3e\x3ctd align\x3d\"right\"\x3e\x3cinput type\x3d\"image\" src\x3d\"http://www.google.com/ig/images/x_blue.gif\" onclick\x3d\"_close_mtabs_dialog(); _CloseDialog(2); return true;\" /\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e";
                        var bodyHtml = "\x3ctable id\x3d\"mtabs_body\"\x3e\x3ctr\x3e\x3ctd style\x3d\"white-space:nowrap\"\x3e\x3cfont size\x3d\"-1\"\x3eTab name:\x3c/font\x3e\x3c/td\x3e\x3ctd\x3e\x3cform onsubmit\x3d\"_mtabs_send(); return false;\"\x3e\x3cfont size\x3d\"-1\"\x3e\x3cinput id\x3d\"mtab\" type\x3d\"text\" name\x3d\"tab\" size\x3d\"40\" /\x3e\x3c/font\x3e\x3c/form\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x3cfont size\x3d\"-1\"\x3e\x3c/font\x3e\x3c/td\x3e\x3ctd\x3e\x3cfont size\x3d\"-2\" color\x3d\"#676767\"\x3ee.g. News, Finance, Sports\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d\"2\"\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d\"2\"\x3e\x3cfont size\x3d\"-1\"\x3e\x3cinput name\x3d\"fill\" id\x3d\"mfill\" type\x3d\"checkbox\" checked /\x3e\x3clabel for\x3d\"mfill\"\x3eI\x26#39;m feeling lucky. Automatically add stuff based on the tab name.\x3c/label\x3e\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e";
                        var buttonsHtml = ["<input type=\"button\" onclick=\"return _mtabs_send();\""
                                + " style=\"font-weight:bold; width:100px\" value=\"OK\" />","<input type=\"button\" onclick=\"return _close_mtabs_dialog();\""
                                + " style=\"width:100px\" value=\"Cancel\" />"];
                        _Confirm(null, titleHtml, bodyHtml, buttonsHtml);
                        _IG_RegisterOnloadHandler(function()
                        {
                            _gel("mtab").focus();
                        });
                        return false;
                    }</script>
                    
                <li class="tab" id="addstuff">
                    
                </li>
            </ul>
        </div>
    </div>
</div>
<div id="modules">
<div class="yui-b">
<div class="yui-gb" id="t_1">
<div class="yui-u first" id="c_1">
    <div class="dm"></div>
</div>
<div class="yui-u" id="c_2">
<div id="m_0" class="modbox">
<h2 class="modtitle">
    <a class="delbox" href="#" onclick="return _del('0',32,'n_32=url%3Dhttp://myearnings.googlecode.com/svn/trunk/MyEarnings.xml%26up_salaryH%3D20000%26up_salary%3D********%26up_timerPaused%3D1%26up_timerStart%3D6422');"></a><a class="minbox" id="m_0_zippy" href="#" onclick="this.blur();return _zm('0', '32');return false;"></a><a class="ddbox" id="DD_tg_0" href="#" onclick="_IG_DD_open(event,0);return false;"></a>
    <script>_IG_DD_create(0, [["Edit settings","","_edit(0, null)"],["Send to a friend","","_mailWindow(\x26#39;http://www.google.co.uk/ig/mailgadget?moduleurl\x3dhttp://myearnings.googlecode.com/svn/trunk/MyEarnings.xml\x26#39;)"],["You might also like...","http://www.google.co.uk/ig/directory?recommend\x3dhttp://myearnings.googlecode.com/svn/trunk/MyEarnings.xml",""],["About this gadget","http://www.google.co.uk/ig/directory?url\x3dhttp://myearnings.googlecode.com/svn/trunk/MyEarnings.xml",""]]);</script>
    <span class="my_gadget" style="display:none"></span>

    <div id="m_0_h">
        <a class="mtlink" id="m_0_url" href="http://bonstio.net/timer"><span id="m_0_title" class="modtitle_text">My Earnings</span></a>
    </div>
    <div class="meditbox">
        <form id="m_0_form" onsubmit="return _fsetp(this,'0',32);">
            <script></script>
            <table border=0 cellpadding=0 cellspacing=0 width=95% align=center>
                <tr>
                    <td colspan=1 align=right width="35%">Gadget title</td>
                    <td colspan=2 nowrap align=left width="65%">&nbsp;<input type="text" size="20" maxlen="200" id=m_0_0 name=m_0_up_title value="My Earnings">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Timer name</td>
                    <td colspan=2 nowrap align=left width="65%">&nbsp;<input type="text" size="20" maxlen="200" id=m_0_1 name=m_0_up_breakName value="bathroom break">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Currency symbol</td>
                    <td colspan=2 nowrap align=left width="65%">&nbsp;<input type="text" size="20" maxlen="200" id=m_0_2 name=m_0_up_currencySymbol value="$">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Salary</td>
                    <td colspan=2 nowrap align=left width="65%">&nbsp;<input type="text" size="20" maxlen="200" id=m_0_3 name=m_0_up_salary value="********">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Start time</td>
                    <td colspan=2 nowrap align=left width="65%">&nbsp;<input type="text" size="20" maxlen="200" id=m_0_4 name=m_0_up_startTime value="09:00">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">End time</td>
                    <td colspan=2 nowrap align=left width="65%">&nbsp;<input type="text" size="20" maxlen="200" id=m_0_5 name=m_0_up_endTime value="17:00">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Lunch duration</td>
                    <td colspan=2 nowrap align=left width="65%">&nbsp;<input type="text" size="20" maxlen="200" id=m_0_6 name=m_0_up_lunchTime value="1:00">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Tax rate</td>
                    <td colspan=2 nowrap align=left width="65%">&nbsp;<input type="text" size="20" maxlen="200" id=m_0_7 name=m_0_up_taxRate value="">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Clock tick interval</td>
                    <td colspan=2 nowrap align=left width="65%">&nbsp;<select id=m_0_8 name=m_0_up_clockTickInterval style="width:95%;">
                        <option SELECTED value="0">Minutes
                        <option value="1">Seconds
                        <option value="2">Hundredths of seconds
                    </select></td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Timer tick interval</td>
                    <td colspan=2 nowrap align=left width="65%">&nbsp;<select id=m_0_9 name=m_0_up_timerTickInterval style="width:95%;">
                        <option value="0">Minutes
                        <option SELECTED value="1">Seconds
                        <option value="2">Hundredths of seconds
                    </select></td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Display clock</td>
                    <td colspan=2 nowrap align=left width="65%">
                        <input type=hidden id=m_0_10 name=m_0_up_showClock value=1><input type=checkbox CHECKED onClick="_gel('m_0_10').value = this.checked ? '1' : '0';">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Use 24h clock</td>
                    <td colspan=2 nowrap align=left width="65%">
                        <input type=hidden id=m_0_11 name=m_0_up_is24h value=0><input type=checkbox onClick="_gel('m_0_11').value = this.checked ? '1' : '0';">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Show horizontal rule</td>
                    <td colspan=2 nowrap align=left width="65%">
                        <input type=hidden id=m_0_12 name=m_0_up_showRule value=1><input type=checkbox CHECKED onClick="_gel('m_0_12').value = this.checked ? '1' : '0';">
                    </td>
                </tr>
                <tr>
                    <td colspan=1 align=right width="35%">Confirm reset</td>
                    <td colspan=2 nowrap align=left width="65%">
                        <input type=hidden id=m_0_13 name=m_0_up_confirmReset value=1><input type=checkbox CHECKED onClick="_gel('m_0_13').value = this.checked ? '1' : '0';">
                    </td>
                </tr>
            </table>
            <table border=0 cellpadding=0 cellspacing=0 width=95% align=center>
                <tr>
                    <td colspan=2 nowrap align=left><br><a href=""><font size=-1 color=#7777cc></font></a></td>
                    <td colspan=1 align=right valign=bottom>
                        <input id=m_0_numfields type=hidden value=19><input id=save_0 class=submitbtn type=submit value="Save"><input type=button value="Cancel" onclick="return _cedit('0')">
                    </td>
                </tr>
            </table>
        </form>
    </div>
</h2>
<div id="m_0_b" class="modboxin">

<!-- Copyright 2007 and beyond, Google Inc.  To use gadgets on your own site, visit http://www.google.com/webmasters/gadgets.  To create your own gadgets, visit http://www.google.com/apis/gadgets -->
<div id=remote_0 style="border:0;padding:0;margin:0;width:100%;;overflow:hidden;">

<?php echo $gadget->Content; ?>

</div>
</div>
</div>
<div class="dm"></div>
</div>
<div class="yui-u" id="c_3">
    <div class="dm"></div>
</div>
<div class="dm c">&nbsp;</div>
</div>
</div>
</div>
</div>
<div id="footerwrap">
    <div id="footerwrapinner"><p id="footer_promos">
        <span class="bold_link_container"><span class="new"></span> </span>View this page anytime
        <a href="http://www.google.com/mobile/personalized/promo.html">on your mobile phone</a>.<br><br><a href="http://www.google.com/intl/en/ads/">Advertising&nbsp;Programmes</a> -
        <a href="http://www.google.com/services/">Business Solutions</a> - <a href="http://www.google.com/intl/en/help/privacy_fusionph.html">Privacy Policy</a> -
        <a href="http://www.google.com/support/?ctx=web&hl=en">Help</a> -
        <a href="http://www.google.com/intl/en/about.html">About Google</a><br><br><span class="copyr">&copy;2007 Google</span></p></div>
</div>
<script>_table = _gel("t_1");
_tabs = _gel("tabs");
_pl = true;
_IG_time.stop("upcstart");
_upc();
_IG_time.stop("upcend");
_IG_start_refresh_cycle(1200, 600);
_IG_time.stop("domloadstart");
_IG_AddEventHandler("domload", function()
{
    _IG_time.stop("domloadend");
});
_IG_TriggerDelayedEvent("domload");
</script>
</body>
</html>











































